//
//  MyMessageCell.m
//  Yihubang
//
//  Created by xmy on 16/9/6.
//  Copyright © 2016年 jinghao. All rights reserved.
//

#import "MyMessageCell.h"

@implementation MyMessageCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self.clickTo_btn addTarget:self action:@selector(goToGPSNaviVC) forControlEvents:UIControlEventTouchUpInside];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)goToGPSNaviVC{
    if(self.goToGPSNaviVCCommand){
        [self.goToGPSNaviVCCommand execute:self.target_index];
    }
}
@end
